//
//  TaskOffestKey.swift
//  SwiftUILean
//
//  Created by wyknmjj on 2024/5/15.
//

import SwiftUI

struct TaskOffsetKey: PreferenceKey{
    static var defaultValue: CGFloat = 0
    static func reduce(value: inout Value, nextValue: () -> Value) {
        value = nextValue()
    }
}
